<?php
$pageTitle = __('Browse Item Types');
head(array('title'=>$pageTitle, 'bodyclass'=>'item-types'));
?>
<div id="secondary">
	<?php echo secondary_poincare();?>
</div>

<h1><?php echo $pageTitle; ?></h1>
<div id="primary" class="type-list">
<?php while (loop_item_types()): ?>
<?php $itemtype = get_current_item_type();?>
    <div class="collection">
        <h2><?php echo html_escape($itemtype->name); ?></h2>
        <div class="view-items-link">
				<?php if($desc = html_escape($itemtype->description)): ?>
        	<?php echo $desc; ?>
        <?php endif; ?>
					<?php	echo link_to_items_with_item_type('Voir'); ?>
					(<?php echo get_current_item_type()->totalItems();?>)
        </div>
		</div>
<?php endwhile; ?>

</div>
<?php foot(); ?>
